﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using System.Web.Routing;
using Kaiser.Infrastructure.User;

namespace Kaiser.Infrastructure.Context
{
    public class KaiserContext
    {
           public KaiserContext(RequestContext requestContext, RouteCollection routes , IUser user)
        {
            HttpContext = requestContext.HttpContext;
            RequestContext = requestContext;
            Routes = routes;
            //Site = site;
            User = user;
        }

           public KaiserContext(KaiserContext context)
            : this(context.RequestContext, context.Routes,   context.User)
        {
        }

        public HttpContextBase HttpContext { get; private set; }
        public RequestContext RequestContext { get; private set; }
        //public RequestDataFormat RequestDataFormat { get; private set; }
        public RouteCollection Routes { get; private set; }
       // public Site Site { get; private set; }
        public IUser User { get; private set; }
    }
}
